﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbOrder")]
    public class WlbOrder : BaseObject
    {
        //begin
        public WlbOrder()
        {}
        public WlbOrder(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _PrevOrderCode;
        public string PrevOrderCode
        {
            get
            {
                return _PrevOrderCode;
            }
            set
            {
                SetPropertyValue("PrevOrderCode", ref _PrevOrderCode, value);
            }
        }
        private string _StoreCode;
        public string StoreCode
        {
            get
            {
                return _StoreCode;
            }
            set
            {
                SetPropertyValue("StoreCode", ref _StoreCode, value);
            }
        }
        private string _OrderSource;
        public string OrderSource
        {
            get
            {
                return _OrderSource;
            }
            set
            {
                SetPropertyValue("OrderSource", ref _OrderSource, value);
            }
        }
        private string _OrderSourceCode;
        public string OrderSourceCode
        {
            get
            {
                return _OrderSourceCode;
            }
            set
            {
                SetPropertyValue("OrderSourceCode", ref _OrderSourceCode, value);
            }
        }
        private string _OrderType;
        public string OrderType
        {
            get
            {
                return _OrderType;
            }
            set
            {
                SetPropertyValue("OrderType", ref _OrderType, value);
            }
        }
        private string _OrderCode;
        public string OrderCode
        {
            get
            {
                return _OrderCode;
            }
            set
            {
                SetPropertyValue("OrderCode", ref _OrderCode, value);
            }
        }
        private string _BuyerNick;
        public string BuyerNick
        {
            get
            {
                return _BuyerNick;
            }
            set
            {
                SetPropertyValue("BuyerNick", ref _BuyerNick, value);
            }
        }
        private string _ReceiverName;
        public string ReceiverName
        {
            get
            {
                return _ReceiverName;
            }
            set
            {
                SetPropertyValue("ReceiverName", ref _ReceiverName, value);
            }
        }
        private string _ReceiverWangwang;
        public string ReceiverWangwang
        {
            get
            {
                return _ReceiverWangwang;
            }
            set
            {
                SetPropertyValue("ReceiverWangwang", ref _ReceiverWangwang, value);
            }
        }
        private string _ReceiverMail;
        public string ReceiverMail
        {
            get
            {
                return _ReceiverMail;
            }
            set
            {
                SetPropertyValue("ReceiverMail", ref _ReceiverMail, value);
            }
        }
        private string _ReceiverZipCode;
        public string ReceiverZipCode
        {
            get
            {
                return _ReceiverZipCode;
            }
            set
            {
                SetPropertyValue("ReceiverZipCode", ref _ReceiverZipCode, value);
            }
        }
        private string _ReceiverMobile;
        public string ReceiverMobile
        {
            get
            {
                return _ReceiverMobile;
            }
            set
            {
                SetPropertyValue("ReceiverMobile", ref _ReceiverMobile, value);
            }
        }
        private string _ReceiverPhone;
        public string ReceiverPhone
        {
            get
            {
                return _ReceiverPhone;
            }
            set
            {
                SetPropertyValue("ReceiverPhone", ref _ReceiverPhone, value);
            }
        }
        private string _ShippingType;
        public string ShippingType
        {
            get
            {
                return _ShippingType;
            }
            set
            {
                SetPropertyValue("ShippingType", ref _ShippingType, value);
            }
        }
        private string _TmsTpCode;
        public string TmsTpCode
        {
            get
            {
                return _TmsTpCode;
            }
            set
            {
                SetPropertyValue("TmsTpCode", ref _TmsTpCode, value);
            }
        }
        private long _TotalAmount;
        public long TotalAmount
        {
            get
            {
                return _TotalAmount;
            }
            set
            {
                SetPropertyValue("TotalAmount", ref _TotalAmount, value);
            }
        }
        private string _OrderStatus;
        public string OrderStatus
        {
            get
            {
                return _OrderStatus;
            }
            set
            {
                SetPropertyValue("OrderStatus", ref _OrderStatus, value);
            }
        }
        private string _InvoiceInfo;
        public string InvoiceInfo
        {
            get
            {
                return _InvoiceInfo;
            }
            set
            {
                SetPropertyValue("InvoiceInfo", ref _InvoiceInfo, value);
            }
        }
        private string _Remark;
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                SetPropertyValue("Remark", ref _Remark, value);
            }
        }
        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _UserNick;
        public string UserNick
        {
            get
            {
                return _UserNick;
            }
            set
            {
                SetPropertyValue("UserNick", ref _UserNick, value);
            }
        }
        private string _OrderStatusReason;
        public string OrderStatusReason
        {
            get
            {
                return _OrderStatusReason;
            }
            set
            {
                SetPropertyValue("OrderStatusReason", ref _OrderStatusReason, value);
            }
        }
        private long _OrderFlag;
        public long OrderFlag
        {
            get
            {
                return _OrderFlag;
            }
            set
            {
                SetPropertyValue("OrderFlag", ref _OrderFlag, value);
            }
        }
        private long _ItemKindsCount;
        public long ItemKindsCount
        {
            get
            {
                return _ItemKindsCount;
            }
            set
            {
                SetPropertyValue("ItemKindsCount", ref _ItemKindsCount, value);
            }
        }
        private long _RealKindsCount;
        public long RealKindsCount
        {
            get
            {
                return _RealKindsCount;
            }
            set
            {
                SetPropertyValue("RealKindsCount", ref _RealKindsCount, value);
            }
        }
        private string _ScheduleDay;
        public string ScheduleDay
        {
            get
            {
                return _ScheduleDay;
            }
            set
            {
                SetPropertyValue("ScheduleDay", ref _ScheduleDay, value);
            }
        }
        private long _ScheduleSpeed;
        public long ScheduleSpeed
        {
            get
            {
                return _ScheduleSpeed;
            }
            set
            {
                SetPropertyValue("ScheduleSpeed", ref _ScheduleSpeed, value);
            }
        }
        private DateTime _ExpectStartTime;
        public DateTime ExpectStartTime
        {
            get
            {
                return _ExpectStartTime;
            }
            set
            {
                SetPropertyValue("ExpectStartTime", ref _ExpectStartTime, value);
            }
        }
        private DateTime _ExpectEndTime;
        public DateTime ExpectEndTime
        {
            get
            {
                return _ExpectEndTime;
            }
            set
            {
                SetPropertyValue("ExpectEndTime", ref _ExpectEndTime, value);
            }
        }
        private string _OperateType;
        public string OperateType
        {
            get
            {
                return _OperateType;
            }
            set
            {
                SetPropertyValue("OperateType", ref _OperateType, value);
            }
        }
        private string _OrderSubType;
        public string OrderSubType
        {
            get
            {
                return _OrderSubType;
            }
            set
            {
                SetPropertyValue("OrderSubType", ref _OrderSubType, value);
            }
        }
        private long _ReceivableAmount;
        public long ReceivableAmount
        {
            get
            {
                return _ReceivableAmount;
            }
            set
            {
                SetPropertyValue("ReceivableAmount", ref _ReceivableAmount, value);
            }
        }
        private string _ConfirmStatus;
        public string ConfirmStatus
        {
            get
            {
                return _ConfirmStatus;
            }
            set
            {
                SetPropertyValue("ConfirmStatus", ref _ConfirmStatus, value);
            }
        }
        private string _ReceiverProvince;
        public string ReceiverProvince
        {
            get
            {
                return _ReceiverProvince;
            }
            set
            {
                SetPropertyValue("ReceiverProvince", ref _ReceiverProvince, value);
            }
        }
        private string _ReceiverCity;
        public string ReceiverCity
        {
            get
            {
                return _ReceiverCity;
            }
            set
            {
                SetPropertyValue("ReceiverCity", ref _ReceiverCity, value);
            }
        }
        private string _ReceiverArea;
        public string ReceiverArea
        {
            get
            {
                return _ReceiverArea;
            }
            set
            {
                SetPropertyValue("ReceiverArea", ref _ReceiverArea, value);
            }
        }
        private string _ReceiverAddress;
        public string ReceiverAddress
        {
            get
            {
                return _ReceiverAddress;
            }
            set
            {
                SetPropertyValue("ReceiverAddress", ref _ReceiverAddress, value);
            }
        }
        private string _ScheduleStart;
        public string ScheduleStart
        {
            get
            {
                return _ScheduleStart;
            }
            set
            {
                SetPropertyValue("ScheduleStart", ref _ScheduleStart, value);
            }
        }
        private string _ScheduleEnd;
        public string ScheduleEnd
        {
            get
            {
                return _ScheduleEnd;
            }
            set
            {
                SetPropertyValue("ScheduleEnd", ref _ScheduleEnd, value);
            }
        }
        private long _ServiceFee;
        public long ServiceFee
        {
            get
            {
                return _ServiceFee;
            }
            set
            {
                SetPropertyValue("ServiceFee", ref _ServiceFee, value);
            }
        }
        private long _CancelOrderStatus;
        public long CancelOrderStatus
        {
            get
            {
                return _CancelOrderStatus;
            }
            set
            {
                SetPropertyValue("CancelOrderStatus", ref _CancelOrderStatus, value);
            }
        }
        private string _SenderProvince;
        public string SenderProvince
        {
            get
            {
                return _SenderProvince;
            }
            set
            {
                SetPropertyValue("SenderProvince", ref _SenderProvince, value);
            }
        }
        private string _SenderCity;
        public string SenderCity
        {
            get
            {
                return _SenderCity;
            }
            set
            {
                SetPropertyValue("SenderCity", ref _SenderCity, value);
            }
        }
        private string _SenderArea;
        public string SenderArea
        {
            get
            {
                return _SenderArea;
            }
            set
            {
                SetPropertyValue("SenderArea", ref _SenderArea, value);
            }
        }
        private string _SenderAddress;
        public string SenderAddress
        {
            get
            {
                return _SenderAddress;
            }
            set
            {
                SetPropertyValue("SenderAddress", ref _SenderAddress, value);
            }
        }
        private string _SenderName;
        public string SenderName
        {
            get
            {
                return _SenderName;
            }
            set
            {
                SetPropertyValue("SenderName", ref _SenderName, value);
            }
        }
        private string _SenderMobile;
        public string SenderMobile
        {
            get
            {
                return _SenderMobile;
            }
            set
            {
                SetPropertyValue("SenderMobile", ref _SenderMobile, value);
            }
        }
        private string _SenderEmail;
        public string SenderEmail
        {
            get
            {
                return _SenderEmail;
            }
            set
            {
                SetPropertyValue("SenderEmail", ref _SenderEmail, value);
            }
        }
        private string _SenderPhone;
        public string SenderPhone
        {
            get
            {
                return _SenderPhone;
            }
            set
            {
                SetPropertyValue("SenderPhone", ref _SenderPhone, value);
            }
        }
        private string _SenderZipCode;
        public string SenderZipCode
        {
            get
            {
                return _SenderZipCode;
            }
            set
            {
                SetPropertyValue("SenderZipCode", ref _SenderZipCode, value);
            }
        }
        //end
    }
}
